﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace bxml.betterxml.natural3
{

    public abstract class ContainsExpressionList : Expression
    {
        //@Children({Group.class, Add.class, Subtract.class, Value.class})
        protected List<Expression> expressions = new List<Expression>();

        public List<Expression> getExpressions()
        {
            return expressions;
        }

        public void addExpression(Expression expression)
        {
            this.expressions.Add(expression);
        }

        public abstract int Evaluate();
    }

}
